package cn.car.domains.vo.sysRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class CreateRoleReq {

    /**
     * 角色编码
     */
    @NotEmpty(message = "角色编码不能为空")
    @Schema(name = "roleCode", description = "角色编码")
    private String roleCode;

    /**
     * 角色名称
     */
    @NotEmpty(message = "角色名称不能为空")
    @Schema(name = "roleName", description = "角色名称")
    private String roleName;
}
